# @Time : 2025-01-06 17:22
# @Author : Fioman 
# @Phone : 13149920693
"""
裁切机切割参数,切割的速度设置,第一刀切割的比率,工具切割速度,下刀深度,还有切割的时候的刀的角度补偿
"""
from db_tool.db_config import TableName, TableRegister

tableName: str = TableName.cbjCutParams.name
initData = {
    "key": "1",
    "speedLev1": 900,  # 跟铜箔厚度有关系
    "speedLev2": 900,
    "speedLev3": 900,
    "speedLev4": 900,
    "speedLev5": 600,
    "firstCutRate": 0.8,
    "toolCutSpped": 600,
    "cutDeep": 32,
    "knifeAngleOffset": 0,  # 如果是0,就从底层获取这个值
}
TableRegister.register_table(tableName, initData)

if __name__ == '__main__':
    from db_tool.db_config import re_init_table

    re_init_table(tableName, initData)
